package com.ruoyi.crm.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 付款单对象 payment
 *
 * @author ruoyi
 * @date 2021-09-01
 */
public class Payment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 付款单编号 */
    @Excel(name = "付款单编号")
    private String paymentNo;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 选择源单 */
    @Excel(name = "选择源单")
    private String sourceForm;

    /** 付款日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "付款日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payDate;

    /** 付款方式 */
    @Excel(name = "付款方式")
    private String payType;

    /** 采购负责人 */
    @Excel(name = "采购负责人")
    private String purchaseFollower;

    /** 本次付款金额 */
    @Excel(name = "本次付款金额")
    private String payAcNow;

    /** 源单总额 */
    @Excel(name = "源单总额")
    private String sourceAc;

    /** 顾客产品信息信息 */
    private List<CustomerProduct> customerProductList;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setPaymentNo(String paymentNo)
    {
        this.paymentNo = paymentNo;
    }

    public String getPaymentNo()
    {
        return paymentNo;
    }
    public void setSupplierName(String supplierName)
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName()
    {
        return supplierName;
    }
    public void setSourceForm(String sourceForm)
    {
        this.sourceForm = sourceForm;
    }

    public String getSourceForm()
    {
        return sourceForm;
    }
    public void setPayDate(Date payDate)
    {
        this.payDate = payDate;
    }

    public Date getPayDate()
    {
        return payDate;
    }
    public void setPayType(String payType)
    {
        this.payType = payType;
    }

    public String getPayType()
    {
        return payType;
    }
    public void setPurchaseFollower(String purchaseFollower)
    {
        this.purchaseFollower = purchaseFollower;
    }

    public String getPurchaseFollower()
    {
        return purchaseFollower;
    }
    public void setPayAcNow(String payAcNow)
    {
        this.payAcNow = payAcNow;
    }

    public String getPayAcNow()
    {
        return payAcNow;
    }
    public void setSourceAc(String sourceAc)
    {
        this.sourceAc = sourceAc;
    }

    public String getSourceAc()
    {
        return sourceAc;
    }

    public List<CustomerProduct> getCustomerProductList()
    {
        return customerProductList;
    }

    public void setCustomerProductList(List<CustomerProduct> customerProductList)
    {
        this.customerProductList = customerProductList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("paymentNo", getPaymentNo())
                .append("supplierName", getSupplierName())
                .append("sourceForm", getSourceForm())
                .append("payDate", getPayDate())
                .append("payType", getPayType())
                .append("purchaseFollower", getPurchaseFollower())
                .append("updateTime", getUpdateTime())
                .append("payAcNow", getPayAcNow())
                .append("sourceAc", getSourceAc())
                .append("customerProductList", getCustomerProductList())
                .toString();
    }
}